<%--
  Created by IntelliJ IDEA.
  User: gaosubo
  Date: 2018/1/7
  Time: 16:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html><head lang="en">
    <meta charset="UTF-8">
    <title>政策法规</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <link rel="stylesheet" type="text/css" href="../css/base.css">
    <link rel="stylesheet" type="text/css" href="../css/news/center.css">
    <%--<link href="../css/street/video-js.css" rel="stylesheet" type="text/css">--%>
    <%--<script src="../js/street/video.min.js"></script>--%>
    <%--<script src="../js/street/videojs-ie8.min.js"></script>--%>
    <script type="text/javascript" src="../js/jquery/jquery-1.9.1.js"></script>
    <script src="../js/news/page.js"></script>
    <script src="../lib/laydate.js"></script>
    <script src="../js/base/base.js" type="text/javascript" charset="utf-8"></script>
    <script src="../lib/pagination/js/jquery.pagination.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/jquery/jquery.cookie.js"></script>
</head>
<body>
<style>
    /*标题长时隐藏设置*/
    .title{
        width: 482px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #contents{
        /*font-size: 20px;*/
        /*color: #666;*/
        /*margin-left: 184px;*/
        font-family: 微软雅黑;
        font-size: 14px;
        color: #666;
        line-height:69px;
        float: left;
        margin-right: 20px;
    }
    .head .headli3{
        width: 120px;
    }
    .bx{
        height: 100%;
        overflow-y: auto;
    }

    .video-js .vjs-big-play-button{
        font-size: 2.5em;
        line-height: 2.3em;
        height: 2.5em;
        width: 2.5em;
        -webkit-border-radius: 2.5em;
        -moz-border-radius: 2.5em;
        border-radius: 2.5em;
        background-color: #73859f;
        background-color: rgba(115,133,159,.5);
        border-width: 0.15em;
        margin-top: -1.25em;
        margin-left: -1.75em;
    }
    /* 中间的播放箭头 */
    .vjs-big-play-button .vjs-icon-placeholder {
        font-size: 1.63em;
    }
    /* 加载圆圈 */
    .vjs-loading-spinner {
        font-size: 2.5em;
        width: 2em;
        height: 2em;
        border-radius: 1em;
        margin-top: -1em;
        margin-left: -1.5em;
    }
    .video-js{
        margin:0 auto;
    }
</style>
<div class="bx">
    <!--head开始-->

    <!--head通栏结束-->

    <!--navigation开始-->
    <div class="step1" style="margin-left: 0">
        <div class="navigation  clearfix">
            <div class="left" style="margin-left: 30px">
                <img src="/img/la2.png">
                <div class="news" style="margin-right: 5px;">简介</div>
            </div>
        </div>
    </div>
    <div class="video" style="text-align: center;display: none;    margin-bottom: 45px;">
        <%--<video id="video-1" src="/css/video_x264.mp4" width="300" height="300" controls poster="">--%>
        <%--&lt;%&ndash;<source src="../video/fun.mp4" type="video/mp4">&ndash;%&gt;--%>
        <%--</video>--%>
        <video id="example_video_1" class="video-js vjs-default-skin video-js vjs-big-play-centered" controls preload="auto" width="680" height="500"
               poster="../img/map/video.png"
               data-setup="{}">
            <source src="../css/video_x264.mp4" type='video/mp4' />
            <!--<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
            <source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />-->
            <track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
            <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
        </video>
    </div>
    <div>
        <h4 id="wz" style="word-wrap:break-word;width: 80%;overflow:hidden;font-size: 15px;margin: 0 auto;color: #333;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h4>
        <img class="imgs" alt="" style="width: 60%;margin: 50px 20%;">
    </div>

</div>
<!-- 新闻查询 -->
<!-- <div class="center" style="width:100%;margin-top: 50px;display: none;"> -->
<!-- 新闻nav部分 -->

<script type="text/javascript" src="../js/spirit/qwebchannel.js"></script>
<script>
//    var myPlayer = videojs('example_video_1');
//    videojs("example_video_1").ready(function () {
//        var myPlayer = this;
//        myPlayer.play();
//    });


    $(function () {
//        var dd=$.cookie('meId')
        var id=$.GetRequest().id;
        if(id==undefined){
            id=1
        }else{
            id=id
        }
        if(id == 50){
            $('.video').show();
        }else{
            $('.video').hide();
        }

        $.ajax({
            type:'get',
            url:'/orgDepartment/queryByIdOrgDepartmentWithBLOBs',
            dataType:'json',
            data:{
                deptId:id
            },
            success:function(res){
                var data=res.data;
                if(data !=undefined){
                    (data.orgDeptFunc!=undefined)?data.orgDeptFunc:data.orgDeptFunc='';
                    $('#wz').html(data.orgDeptFunc);
                    var attachSrc=data.attachmentList[0].attUrl;
                    $('.imgs').attr('src','/xs?'+attachSrc);
                }

            }
        })
    })
</script>




<div class="layui-layer-move"></div></body></html>